project(hangman)

add_library(sockets SHARED sockets_.cpp TCP.cpp udp.cpp cliente.cpp server.cpp)

add_executable(Hangman main.cpp)
add_executable(ServerUDP mainTCPserver.cpp)
add_executable(ClientTCP mainTCPclient.cpp)

target_link_libraries(ServerTCP sockets)
target_link_libraries(ClientTCP sockets)
target_link_libraries(Hangman sockets)
